// Filename: main.js
//Se carga automaticamente 
require.config({
    paths: {
        jquery: 'libs/jquery/jquery-min',
        flot: 'libs/jqplot/jquery.jqplot',
        underscore: 'libs/underscore/underscore-min',
        backbone: 'libs/backbone/backbone-min',
        templates: '../templates'
    },
    shim: {
        'jquery': {
            exports: '$'
        },
        'underscore': {
            exports: '_'
        },
        'backbone': {
            deps: ['jquery', 'underscore'],
            exports: 'Backbone'
        },
        /*'flot': {
            deps: ['jquery'],
            exports: '$.plot'
        },*/
        'templates': {
            deps: ['jquery', 'underscore', 'backbone'],
            exports: 'jqueryui'
        },
        waitSeconds: 15
    }
});

require([
    'jquery', 'app'
], function($, App) {
    App.initialize(2);
});
